package com.tuanzi.loan.business.repository.common;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.tuanzi.loan.business.entity.common.UserInstall;

/**
 * @author Ray 2017/09/21
 */
public interface UserInstallRepository extends JpaRepository<UserInstall, Long> {

	List<UserInstall> findAllByPhoneId(String phoneId);

	List<UserInstall> findAllByPhoneIdIn(List<String> phoneIds);

	Long countByPhoneIdAndPackageSrc(String phoneId, String packageSrc);
}
